export const state = () => ({
  currentThemeMode: 'normal',
  isShowMobileMenu: false,
})
export const mutations = {
  SWITCH_MODE(state, mode) {
    window.localStorage.setItem('theme-mode', mode)
    state.currentThemeMode = mode
  },
  SHOW_MOBILE_MENU(state) {
    state.isShowMobileMenu = !state.isShowMobileMenu
  },
}
